package com.ity.teamanagement.entity.outputResult;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author coderFu
 * @create 2021/5/30
 */
@ApiModel("详情信息中间表")
@Data
public class TeaDetailsTempA {

    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("中文名")
    private String chineseName;

    @ApiModelProperty("拉丁名")
    private String latinName;

    @ApiModelProperty("种植时间")
    private String growYear;

    @ApiModelProperty("封面图片")
    private String coverPath;

    @ApiModelProperty("封面id")
    private Long coverImgId;

    @ApiModelProperty("说明概要")
    private String abstractMessage;

    @ApiModelProperty("等级")
    private String grade;

    @ApiModelProperty("文章图片组id")
    private Long aKeyId;

    @ApiModelProperty("来源省份")
    private String province;

    @ApiModelProperty("来源市")
    private String city;

    @ApiModelProperty("来源县区")
    private String county;

    @ApiModelProperty("详细位置")
    private String address;

    @ApiModelProperty("品种介绍")
    private String varietyIntroduce;

    @ApiModelProperty("是否稀有品种")
    private Long rareVariety;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date createTime;

}
